package org.example.entity;

import lombok.Getter;
import lombok.Setter;
import org.example.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

@Getter
@Setter
public class Employees extends BaseEntity {
    @Id
    @Column(name = "emp_no")
    private Integer empNo;

    @Column(name = "birth_date")
    private Date birthDate;

    @Column(name = "first_name")
    private String firstName;

    @Column(name = "last_name")
    private String lastName;

    private String gender;

    @Column(name = "hire_date")
    private Date hireDate;
}